package model;

import java.util.List;

import javax.swing.DefaultComboBoxModel;

public class CbbModel {
	public static DefaultComboBoxModel<String> getUsernames(List<String> list){
		String[] items = new String[list.size()];
		for(int i = 0 ; i < items.length; i++){
			items[i] = list.get(i);
		}
		return new DefaultComboBoxModel<String>(items);
	}
}
